/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pojo;

import java.text.DateFormat;
import java.util.Date;



/**
 *
 * @author Thanh Minh
 */
public class KhamBenh {
    private int MaPhieuKham;
    private int MaBN;
    private Date NgayKham;
    private int LoaiBenh;
    private String TrieuChung;
    private int DuDoanBenh;
    private int MaDonThuoc;
    private int TinhTrang;
    
    public KhamBenh(KhamBenh KB){
        this.MaPhieuKham= KB.MaPhieuKham;
        this.MaBN=KB.MaBN;
        this.NgayKham=KB.NgayKham;
        this.MaDonThuoc=KB.MaDonThuoc;
        this.LoaiBenh=KB.LoaiBenh;
        this.TrieuChung = KB.TrieuChung;
        this.TinhTrang=KB.TinhTrang;
        this.DuDoanBenh=KB.DuDoanBenh;
    }

    public KhamBenh() {
        this.NgayKham=new Date();
        this.MaPhieuKham=-1;
        this.MaBN=-1;
        this.LoaiBenh=-1;
        this.MaDonThuoc=-1;
        this.TinhTrang = 0;
        this.DuDoanBenh=-1;
        this.TrieuChung="";
    }

    public KhamBenh(int MaPhieuKham, int MaBN, Date NgayKham, int LoaiBenh, String TrieuChung, int DuDoanBenh, int MaDonThuoc, int TinhTrang) {
        this.MaPhieuKham = MaPhieuKham;
        this.MaBN = MaBN;
        this.NgayKham = NgayKham;
        this.LoaiBenh = LoaiBenh;
        this.TrieuChung = TrieuChung;
        this.DuDoanBenh = DuDoanBenh;
        this.MaDonThuoc = MaDonThuoc;
        this.TinhTrang = TinhTrang;
    }

    public int getMaPhieuKham() {
        return MaPhieuKham;
    }

    public void setMaPhieuKham(int MaPhieuKham) {
        this.MaPhieuKham = MaPhieuKham;
    }

    public int getMaBN() {
        return MaBN;
    }

    public void setMaBN(int MaBN) {
        this.MaBN = MaBN;
    }

    public Date getNgayKham() {
        return NgayKham;
    }

    public void setNgayKham(Date NgayKham) {
        this.NgayKham = NgayKham;
    }

    public int getLoaiBenh() {
        return LoaiBenh;
    }

    public void setLoaiBenh(int LoaiBenh) {
        this.LoaiBenh = LoaiBenh;
    }

    public String getTrieuChung() {
        return TrieuChung;
    }

    public void setTrieuChung(String TrieuChung) {
        this.TrieuChung = TrieuChung;
    }

    public int getDuDoanBenh() {
        return DuDoanBenh;
    }

    public void setDuDoanBenh(int DuDoanBenh) {
        this.DuDoanBenh = DuDoanBenh;
    }

    public int getMaDonThuoc() {
        return MaDonThuoc;
    }

    public void setMaDonThuoc(int MaDonThuoc) {
        this.MaDonThuoc = MaDonThuoc;
    }

    public int getTinhTrang() {
        return TinhTrang;
    }

    public void setTinhTrang(int TinhTrang) {
        this.TinhTrang = TinhTrang;
    }

    
    
    
}
